package com.bjpowerrnode.streamTest;

import java.util.*;

public class Test1 {
    public static void main(String[] args) {
        List<Map<String,Object>> integers = new ArrayList<>();
        Map<String,Object> map1 = new HashMap<>();
        Map<String,Object> map2 = new HashMap<>();
        Map<String,Object> map3 = new HashMap<>();
        Map<String,Object> map4 = new HashMap<>();
        Map<String,Object> map5 = new HashMap<>();
        integers.add(map1);
        integers.add(map2);
        integers.add(map3);
        integers.add(map4);
        integers.add(map5);

        integers.stream().forEach(data ->data.put("数字",10));
        integers.stream().forEach(System.out::println);

    }
}
